package com.reiuy.service;

import com.reiuy.entity.Good;
import com.reiuy.entity.User;

import java.util.List;

public interface GoodService {

    int setGood(Good good, User user);
    //添加商品

    List<Good> selectGoodbyId(User user);
    //查询特定用户上传的商品

    int deleteGood(Good good);
    //删除商品

    List<Good> selectAllgoods();
    //查找全部商品用于显示
}
